#include "asyncservice.h"

AsyncService::AsyncService()
{

}

AsyncService::~AsyncService()
{

}

AsyncService::Implement &AsyncService::implement()
{
    return m_impl;
}

void AsyncService::post(BOOST_ASIO_MOVE_ARG(Task) t)
{
    m_impl.post(t);
}

void AsyncService::dispatch(BOOST_ASIO_MOVE_ARG(Task) t)
{
    m_impl.dispatch(t);
}

void AsyncService::run()
{
    m_impl.run();
}

void AsyncService::stop()
{
    m_impl.stop();
}

bool AsyncService::stopped()
{
    return m_impl.stopped();
}
